package com.cacho.s2b.lesson.security;

import java.io.InputStream;
import java.util.Properties;

public class Activation {
    public static Properties loadActivationProps(){
        Properties props = new Properties();
        String ActivationPropsFile = "data/activation/activationRequest.properties";
        InputStream in = Activation.class.getResourceAsStream("/" + ActivationPropsFile);
        try {
            props.load(in);
        } catch(Exception e){
            e.printStackTrace();
        }
        return props;
    }
}
